package mvp.com.bbc.appContact;

import io.reactivex.Observable;
import mvp.com.bbc.bean.ArtBeans;
import mvp.com.bbc.bean.ArtListBean;
import mvp.com.bbc.bean.HotCoultBean;
import mvp.com.bbc.bean.LoginBean;

/**
 * Created by Administrator on 2017/9/29.
 */

public interface AppContact {
    public interface LoginView {
        void login(LoginBean loginBean);
    }

    public interface LoginModel {
        Observable<LoginBean> loginSuccess(String phone, String password);
    }

    public interface LoginPresenter {
        public void loginPresenter(String phone, String password);
    }

    public interface HotCoultView {
        public void HotCoulView(HotCoultBean hotCoultBean);
    }

    public interface HotCoultModel {
        Observable<HotCoultBean> hotCoultModel(String currentPage);
    }

    public interface HotCoultPresenter {
        public void hotCoultPresenter(String currentPage);
    }

    public interface ArtListNameView {
        public void artListNameView(ArtListBean artListBean);
    }

    public interface ArtListNameModel {
        Observable<ArtListBean> artListNameModel();
    }

    public interface ArtListNamePresenter {
        public void artListNamePresemter();
    }

    public interface ArtListView {
        public void artListView(ArtBeans artBeans);
    }

    public interface ArtListPresenter {
        public void artListPresenter(String themeid, String currentPage, String userid);
    }

    public interface ArtListModel {
        public Observable<ArtBeans> artLIstModel(String themeid, String currentPage, String userid);
    }

    public interface ArtListClickView {
        public void artListClickView(String s);
    }

    public interface ArtListClickModel {
        public Observable<String> artListClickModel(String articleid, String userid, String status);
    }

    public interface ArtListClickPresenter {
        public void artListClickPresenter(String articleid, String userid, String status);
    }
}
